*{
    margin: 0;
    padding: 0;
    list-style-type: none;
}
a{
    text-decoration: none;
    color: black;
}
a:hover{text-decoration: underline;}
// 最顶部
#top_box{
    width: 100%;
    height: 30px;
    background-color: #44403f;
    font-size: 12px;
    line-height: 30px;
    position: fixed;
    z-index: 88;
    &>ul{
        width: 329px;
        height: 100%;
        display: flex;
        /* background-color: yellow; */
        justify-content: space-around;
        float: right;
        margin-right:110px;
    }
    &>.shu{
        position: absolute;
        right: 100px;
        color: gray;
    }
    &>.denglu{
        position: absolute;
        right: 30px;
    }
    a{color: white;}
    .iconfont{color: white;}
}
// 头部
#header{
    top: 30px;
    height: 60px;
    width: 100%;
    border-bottom: 1px solid black;
    position: fixed;
    background-color: #fff;
    z-index: 99;
    &>#header_box{
        width: 1235px;
        height: 100%;
        margin: auto;
        line-height: 60px;
        position: relative;
        &>ul{
            width: 805px;
            height: 100%;
            display: flex;
            justify-content: start;
            float: left;
            &>li{
                margin-left: 30px;
                font-weight: 600;
                &>a{color: black;}
            }
        }
        &>img{
            width: 110px;
            height: 45px;
            float: left;
        }
        &>.shuru{
            width: 280px;
            height: 60px;
            position: absolute;
            right: 0;
            &>input{
                width: 150px;
                height: 40px;
                margin-left: 50px;
            }
            &>.icon-sousuo{
                position: absolute;
                font-size: 20px;
                right: 83px;
            }
            &>.icon-gouwuche{
                position: absolute;
                font-size: 30px;
                right: 30px;
            }
        }
    }
}
// 二级菜单
#header_box ul li div{
    width: 1281px;
    height: 440px;
    background-color: white;
    position: absolute;
    left: -23px;
    display: none;
}
#header_box ul li:hover div{
    display: block;
}
#header_box ul li ol{
    float: left;
    margin: 0 50px;
}
#header_box ul li > ol > li:first-child{font-weight: 600;}
#header_box ul li ol li{font-weight: 400;}
#header_box ul li > div >img{
    width: 170px;
    height: 200px;
    position: absolute;
    right: 20px;
    top: 140px;
}
// banner图
#main{
    width: 1240px;
    margin: auto;
    padding-top: 120px;
    z-index: -1;
    margin-bottom: 20px;
    img{
        width: 100%;
    }
}
//购物车
.shop{
    width: 1240px;
    height: 500px;
    margin: auto;
    // background-color: pink;
    position: relative;
    strong{
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 20px;
        b{
            font-size: 15px;
            font-weight: 100;
            margin-left: 20px;
        }
    }
    .check-all{
        width: 100%;
        height: 20px;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        margin-bottom: 20px;
        margin-top: 20px;
        input{width: 16px; height: 16px;}
        p{margin-left: 10px;}
    }
    
    a{
        float: right;
        color: black;
        font-size: 20px;
        font-weight: 600;
        text-decoration: underline;
    }
    margin-bottom: 200px;
    #cart_item{
        width: 780px;
        height: 180px;
        border: 1px solid #ddd;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 50px;
        float: left;
        .product_item{
            width: 170px;
            height: 120px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            input{width: 16px;height: 16px;}
            img{width: 120px; height: 120px;}
        }
        .info{
            width: 248px;
            height: 122px;
            display: flex;
            flex-flow: column;
            justify-content: flex-start;
            a{
                text-decoration: none;
                font-size: 16px;
                color: #333;
                font-weight: 500;
                line-height: 22px;
                margin-bottom: 20px;
                cursor: pointer;
                text-align: left;
            }
            p{
                color: #767676;
                font-size: 12px;
                font-weight: 500;
                margin-bottom: 8px;
                line-height: 12px;
                cursor: pointer;
                text-align: left;
            }
        }
        .second_box{
            width: 300px;
            height: 40px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            .number_box{
                width: 102px;
                height: 40px;
                input{
                    width: 30px;
                    height: 30px;
                    text-align: center;
                    border: 0.5px solid #aaa;
                    outline: none;
                    background-color: #fff;
                    margin: -1px;
                }
                input:nth-of-type(2){
                    width: 29px;
                    height: 29px;
                }
            }
            .cao{
                width: 80px;
                height: 14px;
                display: flex;
                align-items: center;
                justify-content: space-between;
                .line{width: 1px; height: 10px;background: #333;}
                a{
                    font-size: 14px;
                    text-decoration: underline;
                    font-weight: 300;
                    color: #000;
                }
            }
        }
    }
    #right{
        width: 350px;
        background: #fff;
        position: absolute;
        top: 100px;
        right: 0px;
        // background-color: greenyellow;
    }
        .top{
            width: 100%;
            .how{
                background: #f0f0f0;
                color: #767676;
                font-size: 14px;
                font-weight: 400;
                height: 60px;
                line-height: 60px;
                padding: 0 30px;
                margin-bottom: 24px;
            }
            .item{
                width: 100%;
                // padding: 0 30px;
                display: flex;
                align-items: center;
                justify-content: space-between;
                background: unset;
                margin-bottom: 20px;
                span{
                    margin-right: 35px;
                }
            }
        }
}

// 底部
#footer{
    width: 1240px;
    height: 338px;
    margin: auto;
    background-color: #f9f9f9;
    &>ul{
        float: left;
        margin-right: 150px;
        &>li{margin: 15px 0px;}
    }
}
#footer ul:first-child{
    margin-left: 20px;
    &>a{
        font-weight: 600;
        color: #333;
        cursor: unset
    }
}
#footer li a{
    color: #767676;
    cursor: pointer;
    margin-bottom: 20px;
}
#footer .line{
    width: 1px;
    height: 150px;
    background: #ccc;
    float: left;
    margin-top: 50px;
    margin-right: 2.20588235%;
}
#footer .commit{
    width: 260px;
    height: 126px;
    float: right;
    margin-top: -180px;
    margin-right: 10px;
    // background-color: darkturquoise; 
    &>p{margin-bottom: 15px;}
    &>.iconfont{
        font-size: 35px;
        margin: 0px 20px;
    }
    img{
        border-radius: 50%;
    }
}
#footer .commit img:nth-of-type(1){
    width: 280px;
    margin: 40px 0px;
    position: absolute;
    right: 80px;
    background-color: #fff;
    // box-shadow: 0 2px 12px 0 rgb(0 0 0 / 10%);
    display: none;
}
#footer .commit img:nth-of-type(2){
    width: 280px;
    margin: 40px 0px;
    position: absolute;
    right: 40px;
    background-color: #fff;
    // box-shadow: 0 2px 12px 0 rgb(0 0 0 / 10%);
    display: none;
}
#footer .commit img:nth-of-type(3){
    width: 280px;
    position: absolute;
    margin: 40px 0px;
    right: 7px;
    background-color: #fff;
    // box-shadow: 0 2px 12px 0 rgb(0 0 0 / 10%);
    display: none;
}

/* <!-- footer_bottom --> */
#footer_bottom{
    width: 100%;
    height: 60px;
    background-color: #f0f0f0;
    &>.footer_bottom_box{
        width: 1240px;
        height: 100%;
        line-height: 60px;
        margin: auto;
    }
    &>span{margin: 0 10px;}
    &>a{
        color: #767676;
        font-size: 14px;
    }
    &>img{margin: 0 20px;}
}